using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YJ.Utility
{
    public class Keys
    {
        /// <summary>
        /// SESSION键
        /// </summary>
        public enum SessionKeys
        { 
            /// <summary>
            /// 登录用户ID
            /// </summary>
            UserID,
            /// <summary>
            /// 登录用户姓名
            /// </summary>
            UserName,
            /// <summary>
            /// 用户登录唯一ID
            /// </summary>
            UserUniqueID,
            /// <summary>
            /// 登录用户
            /// </summary>
            User,
            /// <summary>
            /// 验证码
            /// </summary>
            ValidateCode,
            /// <summary>
            /// 是否要检查验证码
            /// </summary>
            IsValidateCode,
            /// <summary>
            /// 主题
            /// </summary>
            Theme,
            /// <summary>
            /// 根路径
            /// </summary>
            BaseUrl
        }

        /// <summary>
        /// 缓存键
        /// </summary>
        public enum CacheKeys
        { 
            /// <summary>
            /// 菜单缓存
            /// </summary>
            MenuTable,
            /// <summary>
            /// 应用程序库
            /// </summary>
            AppLibrary,
            /// <summary>
            /// 应用程序库使用人员
            /// </summary>
            AppLibraryUseMember,
            /// <summary>
            /// 数据字典
            /// </summary>
            Dictionary,
            /// <summary>
            /// 工作流按钮
            /// </summary>
            WorkFlowButtons,
            /// <summary>
            /// 数据库连接
            /// </summary>
            DBConnnections,
            /// <summary>
            /// 流程已安装实体(后跟流程ID)
            /// </summary>
            WorkFlowInstalled_,
            /// <summary>
            /// 系统类实例(后跟类名)
            /// </summary>
            ClassInstance_,
            /// <summary>
            /// 流程意见
            /// </summary>
            WorkFlowComments,
            /// <summary>
            /// 在线用户
            /// </summary>
            OnlineUsers,
            /// <summary>
            /// 工作流委托
            /// </summary>
            WorkFlowDelegation,
            /// <summary>
            /// 用户角色
            /// </summary>
            UserRoles,
            /// <summary>
            /// 站内消息
            /// </summary>
            ShortMessage,
            /// <summary>
            /// 用户部门
            /// </summary>
            UserDept,
            /// <summary>
            /// 用户单位
            /// </summary>
            UserUnit,
            /// <summary>
            /// 应用程序设计
            /// </summary>
            ProgramBuilder,
            /// <summary>
            /// 文档中心栏目
            /// </summary>
            DocumentsDirectory,
            /// <summary>
            /// 文档中心栏目阅读人员
            /// </summary>
            DocumentsDirectoryReadUsers,
            /// <summary>
            /// 文档中心栏目发布人员
            /// </summary>
            DocumentsDirectoryPublishUsers,
            /// <summary>
            /// 文档中心栏目管理人员
            /// </summary>
            DocumentsDirectoryManageUsers,
            /// <summary>
            /// 首页模块
            /// </summary>
            HomeItems,
            /// <summary>
            /// 用户快捷方式
            /// </summary>
            UserShortcut,
            /// <summary>
            /// 文件显示类型
            /// </summary>
            FileContentType,
            /// <summary>
            /// 工作时间
            /// </summary>
            WorkTime,
            /// <summary>
            /// 微信应用列表
            /// </summary>
            WeiXinAgents

        }
        
    }
}
